package com.wchat.utils;

import java.util.Random;

/**
 * Created by yangtianrui on 17/8/11.
 */
public class KeyUtil {
    /**
     * 生成订单号
     * @return
     */
    public synchronized static  String genUniqueKey()
    {
        Random random = new Random();
        Integer number = random.nextInt(900000)+100000;
        return System.currentTimeMillis() + String.valueOf(number);

    }

}
